package com.ocom.common.entity.payconfig;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * package_voucher
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "package_voucher")
public class EntityPackageVoucher implements Serializable {
    private static final long serialVersionUID = 3747851647714181940L;
    /**
     * 主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 单位编号
     */
    private Long comId;

    /**
     * 套票种类编号
     */
    private Long packageTypeId;

    /**
     * 消费券种类编号
     */
    private Long voucherTypeId;

    /**
     * 消费券数量
     */
    private Byte number;

    /**
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;

    /**
     * 创建人p_id
     */
    private Long createUserid;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date updateTime;
}